package com.bitongchong.test;

class Main {

    public static void main(String[] args) {
    	String str = "abcdefg";
    	int i=0;
    	do{
    	    i++;
    	    System.out.print(i);
    	}while (str.charAt(i)<'e');
    }
}